package com.tyk.bookstore.front.product.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
/**
 * @author tyk
 * @description 书籍
 */
@Data
public class BookDto {

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "书名")
    private String name;

    @Schema(description = "价格")
    private BigDecimal price;

    @Schema(description = "封面路径")
    private String cover;

}
